//
// Created by seeed on 25-8-15.
//

#ifndef BUTTON_H
#define BUTTON_H
#include <cstdint>

class Button {
public:
    explicit Button(uint8_t btn_pin);
    bool isPressed() const;
    bool isReleased() const;
private:
    uint8_t btn_pin;
};
#endif //BUTTON_H
